
import { createRoot } from 'react-dom/client'
import './index.css'

import { Suspense } from 'react'
import { RouterProvider } from 'react-router-dom'
import router from './router/index.tsx'
createRoot(document.getElementById('root')!).render(
  <Suspense fallback={<div>loading...</div>}>
    <RouterProvider router={router} />
  </Suspense>


)
